package com.xiaoyaoji.admin.pojo.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiYaCai
 * @since 2020-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Project extends Model<Project> {

    private static final long serialVersionUID=1L;

    private String id;

    private String name;

    /**
     * test
     */
    private String description;

    @TableField("teamId")
    private String teamId;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("userId")
    private String userId;

    private String status;

    private String permission;

    private String environments;

    private String details;

    @TableField("lastUpdateTime")
    private LocalDateTime lastUpdateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
